home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Graphics Plus
/
Graphics Plus.iso
/
msdos
/
raytrace
/
pov
/
gen
/
ptwist
/
povtwist.doc
< prev
next >
Wrap
Text File
|
1993-09-04
|
4KB
|
100 lines
POVTWIST V1.00
_____________________________
Files include in PTWIST.ZIP -
POVTWIST.EXE - The compiled 'twister' generator.
POVTWIST.DOC - Instructions for use of TWISTER.
TWISTED.POV - Sample POV dat file to display 'twister'
TWISTED.GIF - 320 X 200 picture of TWISTED.POV.
POVTWIST.C - Source code for POVTWIST.EXE.
[ POVTWIST.EXE ]
POVTWIST 1.0 is a new version of the original TWISTER 1.0 program written
for DKBtrace by Drew Wells. I have only changed the program to the extent
that it will generate output for POVRAY. This document has been changed
accordingly. At the suggestion of the original author, I created
the POV version with a new unique name rather than add an option to
make the original TWISTER program produce both DKB and POV output.
The unique name will allow this program to coexeist with twister program.
The example file twisted.pov was also modified from twisted.dat for POV.
James P. Hawkins [CIS 76520,3356]
The program POVTWIST.EXE will create a data file for the POVRAY raytracer
describing an object that looks something like a twisted ribbon or a piece
of macaroni. I used this program to create the floating macavirus in
"Not a Trace of Reality" a.k.a Ntreal.gif. The 'twister' is a POV union made
up a many instances of a #declare'd quadric. POVTWIST.EXE generates the
complete code and a usable quadric, all the user needs to do is generate the
'twister' pov file, #include it in a POV scene file and place the 'twister'
in their scene. TWISTED.POV is an example of how to use the file generated
by POVTWIST.EXE. -Drew Wells
Parameters: [Default Values]
File name: [twist.pov]
This is the name of the file generated by POVTWIST.EXE
Union Name: [Macaroni]
Name of the 'twister' union to use in #declare statement.
Quadric Name: [Part]
Name of the #declared quadric from which to build twister union.
POVTWIST.EXE creates a sample quadric from the name you supply, but
any quadric may be used for the twister, just comment out the
sample quadric and supply your own.
Length of twister : [20.0]
Version 1.00 of POVTWIST.EXE creates the object from the ground up.
The quadrics in twister union will start at Y = 0.0 and end at
Y = Length. The width is determined by the size of the quadric.
Number of pieces : [50]
The number of quadrics to use in building the twister.
Low values make the twister blockier.
Higher values will create a smoother shape.
Number of twists : [1.0]
How many complete twists the twister makes.
Values below 1.0 create a more gentle curve.
Higher values make the twister more corkscrew-ish.
[ TWISTED.POV ]
TWISTED.POV is a simple POV data file that demonstrates the use of the
file TWIST.POV. TWIST.POV is generated by running POVTWIST.EXE with the default
values. On a IBM PC 386/20 & 387 coprocessor TWISTED.POV renders in about
3 minutes at 80 X 60 with no anti-aliasing and about 2 hours at 320 X 240
with default anti-aliasing. [On a 486/50 rendering takes about 10 minutes
at 320 X 200 -JPH].
[ POVTWIST.C ]
POVTWIST.C is the C language source code to POVTWIST.EXE. It should compile
with any ANSI C compiler and I've tried to make it easily modifiable to create
more complex shapes. You are free to modify the code and distribute, but not to
extract payment for this code. Please comment your changes, use the update
list in the source header comment and include this doc file.
* This copyrighted code is released for non-commercial use only. *
* It may not be sold or used as part of a commercial package. *
Experiment and enjoy!
Drew Wells [CIS 73767,1244]
P.O. Box 952
Los Alamitos, CA
90720
December 1990